export const BASE_URL = '/hello-rbac/api/v1'
export const ACCESS_TOKEN = 'HELLO_RBAC_ACCESS_TOKEN'
export const AVATOR = 'AVATOR'
export const ROLE = 'ROLE'

export const LOGIN_PAGE = '/user/login'
export const LOGIN_SUCCESS_PAGE = '/welcome'

export const LOGIN_REQUEST = '/auth/login'
export const LOGOUT_REQUEST = '/auth/logout'
export const REFRESH_TOKEN_REQUEST = '/auth/refresh-token'
export const PRE_REFRESH_TOKEN_SEC = 20

export const REQUEST_WHITE_LIST = ['/auth/login', '/auth/logout', '/auth/2step-code', '/dicts'] // 不需要验证token就可以发送的请求
export const DOWNLOAD_URL = ['/cards/import/excel/template', '/tasks/excel/report']
